package com.geek.pokermanager.model;

/**
 * Created by star on 2016/12/27.
 */
public enum RequestMethod {

    lockPlayer(0),
    unLockPlayer(1),
    addDiamond(2),
    sendNotice(3),
    sendPlug(4),
    ;

    /**
     * final修饰字段是一个良好的实践。
     */
    final private int id;

    RequestMethod(final int id){
        this.id=id;
    }
    /**
     * 获得ID
     * @return
     */
    public int getId() {
        return id;
    }
}
